import Dao.Impl.StudentDaoImpl;
import Dao.StudentDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext ctx=new ClassPathXmlApplicationContext("application.xml");
        StudentDao studentDao = ctx.getBean("studentDao", StudentDao.class);
        studentDao.save();
    }
}
